## Gallery
<img src="1" width="450" align="center">
<img src="1" width="450" align="center">
<img src="1" width="450" align="center">
<img src="1" width="450" align="center">
  
## Info
|DIstro|[ARCH](https://archlinux.org/)|
|:---:|:---:|
|WM|[i3wm](https://i3wm.org/)|
|Bar|[Polybar](https://github.com/polybar/polybar)|
|Launcher|[Rofi](https://github.com/davatorium/rofi)|
|Terminal|[Alacritty](https://github.com/alacritty/alacritty)|
|Shell|[Fish](https://fishshell.com/)|
|Picom|[picom-ftlabs-git](https://github.com/FT-Labs/picom)|
|Icon|[Catppuccin-Frappe](https://github.com/Fausto-Korpsvart/Catppuccin-GTK-Theme)|
|GTK3|[Catppuccin-Macchiato-Standard-Green-dark](https://github.com/catppuccin/gtk)|
|Cursor|[Catppuccin-Macchiato](https://github.com/catppuccin/cursors)|
|Fonts|[JetBrainsMono](https://www.jetbrains.com/lp/mono/)|
|Gedit|[Catppuccin-Macchiato](https://github.com/catppuccin/gedit)|
|Telegram|[Catppuccin-Macchiato](https://github.com/catppuccin/telegram)|

  
## Установка Arch UEFI
```
cfdisk /dev/sdaX  (make partition for root & efi)
mkfs.fat -F 32 /dev/sdaX1  
mkfs.ext4 /dev/sdaX2  
mount /dev/sdaX2 /mnt  
mkdir /mnt/boot
mount /dev/sdaX1 /mnt/boot  
  
pacstrap /mnt base linux linux-firmware  
genfstab -U /mnt >> /mnt/etc/fstab  
arch-chroot /mnt  
  
pacman -S grub efibootmgr micro sudo dhcpcd os-prober ntfs-3g ntpd  

/etc/locale.gen (uncomment en_US.UTF-8 & ru_RU.UTF-8)  
locale-gen  
  
ln -sf /usr/share/zoneinfo/Region/City /etc/localtime  
hwclock --systohc 

mkdir /boot/efi  
mount /dev/sdaX1 /boot/efi  
grub-install --target=x86_64-efi --bootloader-id=GRUB --efi-directory=/boot/efi --removable  
grub-mkconfig -o /boot/grub/grub.cfg  

passwd  
useradd -m -g users -G wheel -s /bin/bash username  
passwd username  
EDITOR=micro visudo user ALL=(ALL) ALL  
  
systemctl enable dhcpcd  
systemctl enable ntpd  
```  

## Настройка клавиатуры через Xorg  
sudo micro /etc/X11/xorg.conf.d/00-keyboard.conf  
```
Section "InputClass"  
    Identifier "system-keyboard"  
    MatchIsKeyboard "on"  
    Option "XkbLayout" "us,ru"  
    Option "XkbModel" "pc105"  
    Option "XkbOptions" "grp:alt_shift_toggle"  
EndSection  
```
  
## Autologin & Autostart
```
/etc/systemd/system/getty@tty1.service.d/override.conf :
  
Service
ExecStart=
ExecStart=-/usr/bin/agetty --autologin YOURUSERNAME --noclear %I $TERM
``` 
  
```
~/.bash_profile :
  
if systemctl -q is-active graphical.target && [[ ! $DISPLAY && $XDG_VTNR -eq 1 ]]; then
  exec startx
fi
``` 
  
  
## Установка i3wm
```
sudo pacman -S xorg xorg-xinit mesa i3-wm alacritty lxappearance nitrogen numlockx ttf-nerd-fonts-symbols dunst  
  
.xinitrc: exec i3  
  
mkdir -p ~/.config/i3/  
cp /etc/i3/config ~/.config/i3/config
``` 

## Установка софта
```
sudo pacman -S pulseaudio pavucontrol firefox inkscape blender telegram-desktop viewnior  
obs-studio nemo tumbler git base-devel gedit htop links cmus neofetch scrot ranger  
mpv  
``` 

## Установка Fish  
```
sudo pacman -S fish  
fish  
curl -sL https://git.io/fisher | source && fisher install jorgebucaran/fisher  
fisher install jorgebucaran/nvm.fish  
fisher install IlanCosman/tide@v5  
chsh -s /usr/bin/fish  
set -U fish_greeting  
  
tide configure - что бы конфигурировать тильды
```  
  
## Установка Yay
```
git clone https://aur.archlinux.org/yay.git  
cd yay  
makepkg -si  
```  
  
## Установка Picom
```
yay picom-ftlabs-git
```  
  
## Установка Lutris
```
sudo pacman -S lutris wine wine-gecko wine-mono winetricks giflib lib32-giflib libpng lib32-libpng libldap lib32-libldap gnutls lib32-gnutls openal lib32-openal v4l-utils lib32-v4l-utils libx11 lib32-libx11 ncurses lib32-ncurses libgcrypt lib32-libgcrypt libxcomposite lib32-libxcomposite dqlite lib32-sqlite libxinerama lib32-libxinerama gdk-pixbuf2 lib32-gdk-pixbuf2 gcc-libs lib32-gcc-libs ocl-icd lib32-ocl-icd libxslt lib32-libxslt libva lib32-libva gst-plugins-base lib32-gst-plugins-base libgpg-error lib32-libgpg-error libjpeg-turbo lib32-libjpeg-turbo libglvnd lib32-libglvnd libva-mesa-driver lib32-libva-mesa-driver amdvlk lib32-amdvlk vkd3d lib32-vkd3d lib32-vulkan-icd-loader vulkan-icd-loader glad  
```  
  
## Установка Apparmor
```
sudo pacman -S apparmor
```
```
sudo micro /etc/default/grub
  
CONFIG_SECURITY_APPARMOR=y
CONFIG_AUDIT=y
CONFIG_LSM="landlock,lockdown,yama,integrity,apparmor,bpf"
GRUB_CMDLINE_LINUX_DEFAULT="apparmor=1 security=apparmor"
```
```
sudo grub-mkconfig -o /boot/grub/grub.cfg
```  
```
sudo systemctl enable apparmor  
sudo systemctl enable auditd  
```  